package com.ruoyi.web.controller.system;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/tongji/")
public class TongjiController {
    private String prefix = "tongji";

    @RequiresPermissions("trail:trail:view")
    @GetMapping("carLiuLiang")
    public String carLiuLiang()
    {
        return prefix + "/carLiuLiang";
    }

    @RequiresPermissions("trail:trail:view")
    @GetMapping("alarmTongji")
    public String alarmTongji()
    {
        return prefix + "/alarmTongji";
    }

}
